export const getarrsum= arr=>arr.reduce((sum,val)=>sum+=val,0)